package com.ruoyi.user.model.pojo.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.time.LocalDateTime;
import java.util.Date;

/**
 * <p>
 * 用户拥有装扮表
 * </p>
 *
 * @author Gnc
 * @since 2025-01-16
 */
@Getter
@Setter
@Accessors(chain = true)
@TableName("youban_dress_user")
@ApiModel(value = "DressUser对象", description = "用户拥有装扮表")
public class DressUser implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty("用户装扮id")
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    @ApiModelProperty("用户id")
    private Long userId;

    @ApiModelProperty("装扮id")
    private Long dressId;

    @ApiModelProperty("装扮到期时间")
    private Date dressTime;

    @ApiModelProperty("是否使用（0否，1是）")
    private Integer isUse;
}
